home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha Extra 2004 January / CyberMycha Extra 1-2004 (Poland) (Disc 2).bin / Pippi / color.dir / 00004_movie.ls < prev    next >
Encoding:
Text File  |  2001-09-12  |  937 b   |  37 lines

  1. global sessionObject, autoMoveObject, sndObject
  2.  
  3. on startMovie
  4.   the soundDevice = "QT3Mix"
  5.   autoMoveObject = new(script("autoMoveScript"))
  6.   sessionObject = new(script("sessionObjectScript"))
  7.   sndObject = new(script("soundScript"))
  8.   checkQT()
  9.   checkColordepth()
  10.   puppetTempo(12)
  11.   go(the frame + 1)
  12. end
  13.  
  14. on checkQT
  15.   if the machineType = 256 then
  16.     qt = the moviePath & "QuickTimeInstaller.exe"
  17.   else
  18.     qt = the moviePath & "Zainstaluj QuickTime"
  19.   end if
  20.   if the quickTimePresent = 0 then
  21.     open(qt)
  22.     quit()
  23.   else
  24.     if QuickTimeVersion() < 5 then
  25.       open(qt)
  26.       quit()
  27.     end if
  28.   end if
  29. end
  30.  
  31. on checkColordepth
  32.   if the colorDepth < 16 then
  33.     alert("Aby uruchomi├ª gr├¬, ekran Twojego monitora musi pracowa├ª w palecie conajmniej 16 bitowej (High Color). Aby zmieni├ª ustawienia ekranu, otw├│rz Panel Sterowania, kliknij dwa razy na ikonie Ekran i wejd┼╕ w zak┬│adk├¬ Ustawienia.")
  34.     quit()
  35.   end if
  36. end
  37.